using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;

namespace GameUI {
	public class MoneyIndicator:MonoBehaviour {

		void Start() {
			text=GetComponent<TextMeshProUGUI>();
		}
		void Update() {
			text.text=Player.instance.money.ToString();
		}

		TextMeshProUGUI text;

	}
}